#! /usr/bin/env python

from utils import singleton

@singleton
class Test():
    version = 0.1
    def __init__(self, i):
        self.id = i

test1 = Test(3)
test2 = Test(2)
test1.id = (4, 2)
print test1.id
print test2.id
print test2.version

file = open('/home/xen/MKTest/data.dat');#open('/home/solon/test.dat', 'r')
for i in range(30):
    lines = file.read(4096)
    lines = lines.splitlines()
    for line in lines:
        print line
